﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;
using IDAL;

namespace BLL
{
    public class TTestItem : BaseService<TTestItemInfo>
    {
        private static readonly ITTestItem dal = DALFactory.DataAccess.CreateTTestItem();
        
        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<TTestItemInfo> GetTestItems(string productSN, DateTime testTime)        
        {
            return dal.GetTestItems(productSN, testTime);
        }
    }
}
